package net.zigin.nhi.could.waste.service;

import net.zigin.nhi.could.waste.dto.SysUpgradeDto;
import net.zigin.nhi.could.waste.model.SysUpgrade;
import net.zigin.nhi.could.waste.service.BaseService;
import net.zigin.nhi.could.waste.vo.SysUpgradeVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/*#################################################################*
# 说明:以下代码通过哲勤代码生成工具自动生成    
# 工具:GeneratorCode
# 作者:mgw1986                                                  
# 生成时间:2021-9-14 20:30:11                                               
##################################################################*/


/**
 *  SysUpgrade服务接口类
 * @ClassName: SysUpgradeService
 * @author mgw1986
 * @date 2021-9-14 20:30:11
 * @version V1.0
 */
public interface SysUpgradeService extends BaseService<SysUpgrade, String> {

    /**
     * 新增编辑版本
     * @param sysUpgradeDto 版本信息
     * @return 版本ID
     */
    String saveOrUpdate(SysUpgradeDto sysUpgradeDto);

    Map<String,Object> uploadFile(MultipartFile file) throws Exception;

    List<SysUpgradeVo> getList(SysUpgradeDto sysUpgradeDto);

    Integer getCount(SysUpgradeDto sysUpgradeDto);
}
